package com.woniuxy.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @Author: ideaAdmin
 * TODO:
 * Date: 2022/2/11:11:02
 * Description:
 */
@Controller
public class TestController {

    @RequestMapping("/test/interceptor")
    public String test(Model model){
        System.out.println("TestController 正在执行controller");
        model.addAttribute("msg","执行完成");
        return "ok";
    }
}
